<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>HLS直播协议Demo</title>
	<link href="./css/video-js.min.css" rel="stylesheet">
</head>
<style type="text/css">
	html,
	body {
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100%;
	}
</style>

<body>
	<video-js id=vid1 class="vjs-default-skin" style="width: 100%; height: 100%;" controls autoplay>
		<source src="http://tpull.kcguoyi.com/live/1.m3u8" type="application/x-mpegURL">
	</video-js>

	<script src="./js/jquery.min.js"></script>
	<script src="./js/video.min.js"></script>
	<script src="./js/videojs-http-streaming.min.js"></script>
	<script>
		$(function () {
			var player = videojs('vid1');
			player.play();
		});
	</script>
</body>

</html>